package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@ApiModel("商品属性")
@AllArgsConstructor
@NoArgsConstructor
@TableName("product")
public class Product {
    @TableId(type = IdType.AUTO)
    Integer id;
    String name;
    double price;
    int num;
    String material;
    String style;
    String specifications;
    String color;
    String picture;
    Integer is_delete;
    Integer curr_person_id;
    String  curr_person_name;
    int status;
    int releaseId;
    int shopId;
    Integer classify_id;
    @TableField(exist = false)
    List<ProductCarousel> carouselList;
    @TableField(exist = false)
    List<ProductDetailImages> detailImageList;
    @TableField(exist = false)
    ProductInfo productInfo;


}
